<?xml version="1.0" encoding="UTF-8"?>
<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:mif="urn:hl7-org:v3/mif" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<realmCode code="CN"/>
	<typeId root="2.16.840.1.113883.1.3" extension="POCD_MT000040"/>
	<templateId root="2.16.156.10011.2.1.1.22"/>
	<!-- 文档流水号 -->
	<id root="2.16.156.10011.1.1" extension="RN001"/>
	<code code="C0002" codeSystem="2.16.156.10011.2.4" codeSystemName="卫生信息共享文档规范编码体系"/>
	<title>门（急）诊病历</title>
	<!-- 文档机器生成时间 -->
	<effectiveTime value="$DataContext.P_CREATETIME$"/>
	<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" codeSystemName="Confidentiality" displayName="正常访问保密级别"/>
	<languageCode code="zh-CN"/>
	<setId/>
	<versionNumber/>
	<recordTarget typeCode="RCT" contextControlCode="OP">
		<patientRole classCode="PAT">
			<!--门（急）诊号标识 -->
			<id root="2.16.156.10011.1.11" extension="E10000000"/>
			<!--电子申请单编号-->
			<id root="2.16.156.10011.1.24" extension="HA201102113366666"/>
			<patient classCode="PSN" determinerCode="INSTANCE">
				<!--患者身份证号标识-->
				<id root="2.16.156.10011.1.3" extension="$DataContext.INDENTITYNO$"/>
				<name>$PATIENTNAME$</name>
				<administrativeGenderCode code="$DataContext.SEXCODE$" displayName="$DataContext.SEX$" codeSystem="2.16.156.10011.2.3.3.4" codeSystemName="生理性别代码表(GB/T 2261.1)"/>
				<birthTime value="$DataContext.BIRTHDATESTR$"/>
				<age unit="岁" value="$DataContext.AGE$"/>
			</patient>